﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace ingesup_ERP.Models
{
    [MetadataType(typeof(personneViewValidation))]
    public partial class PersonneView
    {
        public class personneViewValidation
        {
            [Required(ErrorMessage = "Champ requis")]
            [Display(Name = "Login")]
            public string LOGIN { get; set; }

            [Required(ErrorMessage = "Champ requis")]
            [Display(Name = "Mot de passe")]
            public string MDP { get; set; }
        }
    }
}